package com.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.entity.YiShengEntity;
import com.entity.view.YonghuView;
import com.entity.vo.YiShengVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 用户
 *
 * @author
 * @email
 * @date 2025-03-04
 */
public interface YiShengDao extends BaseMapper<YiShengEntity> {

    List<YiShengVO> selectListVO(@Param("ew") Wrapper<YiShengEntity> wrapper);

    YiShengVO selectVO(@Param("ew") Wrapper<YiShengEntity> wrapper);

    List<YonghuView> selectListView(@Param("ew") Wrapper<YiShengEntity> wrapper);

    List<YonghuView> selectListView(Pagination page, @Param("ew") Wrapper<YiShengEntity> wrapper);

    YonghuView selectView(@Param("ew") Wrapper<YiShengEntity> wrapper);

    List<Map<String, Object>> selectValue(@Param("params") Map<String, Object> params, @Param("ew") Wrapper<YiShengEntity> wrapper);

    List<Map<String, Object>> selectTimeStatValue(@Param("params") Map<String, Object> params, @Param("ew") Wrapper<YiShengEntity> wrapper);

    List<Map<String, Object>> selectGroup(@Param("params") Map<String, Object> params, @Param("ew") Wrapper<YiShengEntity> wrapper);


}